Skip to content

Conversation

@seifertm
Copy link
Contributor

This PR adds a job that publishes release artifacts to test.pypi.org when merging to main.

It also moves the step for creating a GitHub release into the job that assembles the release notes. This allows removing the id-token: write permission from the GitHub release action and adds the missing contents: write permission.

Fixes #1127

@seifertm seifertm requested review from Tinche and asvetlov as code owners June 25, 2025 18:11
@seifertm seifertm changed the title Release to test.pypi.org; Reduce permission scope of release action Publish to test.pypi.org; Reduce permission scope of release action Jun 25, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.01%. Comparing base (f9c5d67) to head (028fc9a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1154   +/-   ##
=======================================
  Coverage   89.01%   89.01%           
=======================================
  Files           2        2           
  Lines         428      428           
  Branches       51       51           
=======================================
  Hits          381      381           
  Misses         33       33           
  Partials       14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@seifertm seifertm added this pull request to the merge queue Jun 30, 2025
Merged via the queue into pytest-dev:main with commit d523340 Jun 30, 2025
21 of 22 checks passed
@seifertm seifertm deleted the fix-permission-of-github-release branch June 30, 2025 03:49
@seifertm seifertm restored the fix-permission-of-github-release branch August 17, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing read permission in ncipollo/release-action

2 participants